package io.netty.channel.socket.nio;

import java.util.Date;

import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelPromise;

public class XYYNioServerSocketChannel extends NioServerSocketChannel {

	@Override
	protected void doClose() throws Exception {
		super.doClose();
		System.out.println(new Date()+"J****************XYYNioServerSocketChannel*****doClose************");
	}

	@Override
	public ChannelFuture close() {
		System.out.println(new Date()+"J****************XYYNioServerSocketChannel*****close************");
		return super.close();
	}

	@Override
	public ChannelFuture close(ChannelPromise promise) {
		System.out.println(new Date()+"J****************XYYNioServerSocketChannel*****close******2******");
		return super.close(promise);
	}

	@Override
	public ChannelFuture closeFuture() {
		System.out.println(new Date()+"J****************XYYNioServerSocketChannel*****closeFuture************");
		return super.closeFuture();
	}

	
	
}
